home *** CD-ROM | disk | FTP | other *** search
- Path: walrus.megabaud.fi!not-for-mail
- From: petrin@walrus.megabaud.fi (Petri Nordlund)
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: Foreground task always highest priority?
- Date: 16 Feb 1996 18:23:55 +0200
- Organization: Megabaud Oy,Helsinki,Finland
- Message-ID: <4g2b2r$i9l@walrus.megabaud.fi>
- NNTP-Posting-Host: walrus.megabaud.fi
-
- Greg Jung (jung@osse.nrl.navy.mil) writes:
- >|> Many modplayers don't know how to allocate CIA-timers, they just
- >|> use them even though some other program has allocated them and is
- >|> currently using them. Executive uses one of the two CIA-timers, so
- >|> the mod-player should use the other one, or complain that no free
- >|> timer is available. Simply use ExecutivePrefs and change the timer
- >|> that Executive uses to "timer.device".
- >
- > What is the downside of using the timer device, or not? Is CIA usage
- > faster? timer.device has no limits on # of users, I suppose; why
- > isn't this the default behavior of Executive?
-
- Timer.device is not much slower, on my 68030/25MHz I can't measure
- the difference between Executive using timer.device or a CIA-timer.
- Executive uses 0.10% of CPU time with both timers.
-
- There's a better reason why a CIA-timer is used. Timer.device uses
- CIA-B, which has a higher interrupt priority than serial interrupt.
- Slower Amigas can't process the timer interrupts quickly enough, so
- the serial interrupts are blocked and data is lost. This has nothing
- to do with Executive, it happens with all programs that use
- timer.device.
-
- So Executive defaults to using CIA-A on 68000-based Amigas and
- CIA-B on 68020+ Amigas. For Executive V2.00 I'll change this so
- that timer.device will be used for 68020+ Amigas. If you don't
- get serial transfer errors when using timer.device, then you
- should use it instead of a CIA-timer.
-
- -- __
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Petri Nordlund __/// petrin@megabaud.fi
- ---------------------------------\XX/----------------------------------
- Executive & SysLog development - http://www.megabaud.fi/~petrin
- \end
- #
- --
- __
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Petri Nordlund __/// petrin@megabaud.fi
- ---------------------------------\XX/----------------------------------
-